EventCntr16
 
 
 Bean EventCntr16
 
Event counter 16-bit

Typical usage of the bean in user's code.

Typical Usage:

Required bean name is "EC161".

(1)
The following example waits for at least 300 events in the event counter:

 MAIN.C

void main(void)
{
  EC161_Reset(); /* reset the event counter */
  
  /* wait for 300 events */
  while( EC161_GetNumEvents()<300 ) ;
  
}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.